import request from "./Http";

// 热门歌手
export function getTopList(type, area) {
    return request({
        url: `/artist/list?type=${type}&area=${area}&initial=-1`,

        method: "get",

    })
}
// 获取歌手详情
export function detailsForSinger(id) {
    return request({
        url: `/artist/detail?id=${id}`,

        method: "get",

    })
}
// 收藏取消歌手

 
export function collectionToCancelTheSinger(id,t) {
    return request({
        url: `/artist/sub?id=${id}&t=${t}`,
        method: "get",

    })
}
//获取相似歌手 
export function toObtainSimilarSinger(id) {
    return request({
        url: `/simi/artist?id=${id}`,
        method: "get",

    })
}
//获取歌手单曲
export function getSingerSong(id) {
    return request({
        url: `/artist/top/song?id=${id}`,
        method: "get",

    })
}
//获取歌手专辑
export function getSingerAlbum(id) {
    return request({
        url: `/artist/album?id=${id}`,
        method: "get",

    })
}
//获取歌手MV
export function getSingerMV(id) {
    return request({
        url: `/artist/mv?id=${id}`,
        method: "get",

    })
}
